<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>兴趣部落</title>
    <!-- 引入 layui.css -->
    <link href="//unpkg.com/layui@2.9.14/dist/css/layui.css" rel="stylesheet">
    <!-- 引入 layui.js -->
    <script src="//unpkg.com/layui@2.9.14/dist/layui.js"></script>
    <style>
        #header{
            position: fixed;
            top: 0;
            left: 0;
            z-index: 10;


        }
        #sidebar{
            display: flex;
            flex-direction: column;
            position: fixed;
            top: 50px; /* 留出头部导航的高度 */
            bottom: 0;
            left: 0;
            width: 200px;
            height: 100%;
            padding: 10px;
            margin-top: 30px;
            z-index: 10 ;
        }
        #content {

            margin-top: 100px;
            width:51%;
            border: 1px solid gold;

        }
        #content_head_container{
            display: inline-list-item;
        }
        #sidebar_right{
            display: flex;
            flex-direction: column;
            position: fixed;
            top: 50px; /* 留出头部导航的高度 */
            bottom: 0;
            left: 0;
            width: 300px;
            height: 100%;
            padding: 10px;
            margin-top: 30px;
            margin-left: 1100px;
            z-index: 10 ;
            border: 1px solid saddlebrown;
        }
        #userHead{
            border-radius: 50%;
            overflow: hidden;
            width: 15%;
            height: 15%;
        }
        .container {
            display: flex;
            justify-content: flex-start;
            align-items: center;
            z-index: 10;
            border: none;
            /*padding: 10px;*/

        }
        .layui-nav *{
            font-size: 20px;
        }
        .layui-nav-tree.layui-nav-side{
            position: relative;
            margin-top: 10px;
        }
    </style>
</head>
<body>
<!--水平导航-->
<div id="header" class="layui-form layui-col-xs12 layui-bg-gray">
    <div class="container layui-header">
        <ul class="layui-nav layui-layout-left  layui-bg-gray" >
            <!-- 移动端显示 -->
            <li class="layui-nav-item layui-hide-xs">
                <img style="width: 40px;height: 40px; padding: 10px" src="../photos/rqbl.png" alt="图片">
            </li>
            <li class="layui-nav-item layui-hide-xs">
                <input type="text" placeholder="" class="layui-input">
                <div class="layui-input-split" style="cursor: pointer;">
                    <i class="layui-icon layui-icon-search"></i>
                </div>

            </li>
            <li class="layui-nav-item layui-show-xs-inline-block layui-hide-sm" lay-header-event="menuLeft">
                <i class="layui-icon layui-icon-spread-left"></i>
            </li>
            <li class="layui-nav-item "><a href="">首页</a></li>
            <li class="layui-nav-item "><a href="individual_center.html">个人中心</a></li>
            <li class="layui-nav-item "><a href="pal_acc_setting.html">账号设置</a></li>
        </ul>
    </div>
</div>
<!--垂直导航-->
<div id="sidebar" class="layui-col-xs3 layui-col-xs-offset1">
    <ul  class="layui-nav layui-nav-tree layui-nav-side layui-bg-gray">
        <span class="layui-nav-item" style="padding-left: 10px">
             个人主页
        </span>
        <li class="layui-nav-item">
            <a  href="individual_center.html">
                <i class="layui-icon layui-icon-home">我的主页</i>
            </a>
        </li>
        <li class="layui-nav-item">
            <a href="watchList.html">
                <i class="layui-icon layui-icon-user">  我的关注</i>
            </a>
        </li>
        <li class="layui-nav-item">
            <a href="interstList.html">
                <i class="layui-icon layui-icon-face-smile-b">  我的兴趣</i>
            </a>
        </li>
        <li class="layui-nav-item">
            <a href="interstTribal.html">
                <i class="layui-icon layui-icon-group">兴趣部落 </i>
            </a>
        </li>
        <li class="layui-nav-item">
            <a href="friendList.html"> <i class="layui-icon layui-icon-friends"> 我的好友 </i></a>
        </li>
        <li class="layui-nav-item">
            <a href="comment.html"> <i class="layui-icon layui-icon-log">  我的评论</i></a>
        </li>
    </ul>
</div>
<div id="content" class="layui-col-xs-offset3">
    <div class="layui-bg-gray" style="padding: 16px;">
        <div id="card" class="layui-card layui-col-space12">
            <div class="layui-input-inline layui-input-wrap">
                <div class="layui-card-header layui-input-inline">
                    <div class="layui-input-inline">
                        <p>全部部落</p>
                    </div>
                    <div class="layui-input-inline" style="margin-right: 20px;!important;"      >
                        <div class="layui-input-prefix">
                            <i class="layui-icon layui-icon-search"></i>
                        </div>
                        <input style="margin-right: 20px" type="text" class="layui-input " placeholder="搜索框" >
                    </div>
                </div>


            </div>
            <!--           内容填充-->
            <div class="layui-card-body" style="margin-top: 20px">
                 <div>

                </div>


            </div>
        </div>
    </div>
</div>

</body>
</html>
